
const mongoose = require('mongoose')
const { Schema } = mongoose

// 模型
const AdSchema = new Schema({
    name: { type: String },
    items: [{ 
        image: {type: String},
        link: {type: String},
    }],
})

module.exports = mongoose.model('Ad', AdSchema)